# 定义元组
a = (1, 2, 3, 2)
# 统计元素2出现的次数
print(a.count(2))
print(a.count(3))
print(a.count(4))